import { App } from "vue";
import BaseHeader from "./common/BaseHeader.vue";
import Pioneers from "./pioneers/Pioneers.vue";

const components = [BaseHeader, Pioneers];

export default {
  install: (app: App) => {
    components.forEach((component) => {
      if (app.component(component.name) === undefined) {
        app.component(component.name, component);
      }
    });
  },
};
